<%@ page import="R.Entity.Diagnosis" %>
<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8" isELIgnored="false" %>
<!doctype html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport"
              content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>病人诊断详细</title>
        <link rel="stylesheet" href="/res/css/AddReg.css" type="text/css"/>
    </head>
    <body>
        <p>病人诊断信息资料</p>
        <%
            Diagnosis r= (Diagnosis) session.getAttribute("minute");
            String card_number = r.getCard_number();//就诊卡号
            String record_number = r.getRecord_number();//病历编号
            String patient_name = r.getPatient_name();//病人姓名
            String patient_gender = r.getPatient_gender();//病人性别
            String doctor_number = r.getDoctor_number();//医生编号
            String doctor_name = r.getDoctor_name();//医生姓名
            String doctor_title = r.getDoctor_title();//医生职称
            String drug_name = r.getDrug_name();//药品名称
            String drug = r.getDrug();//药品规格
            String drug_quantity = r.getDrug_quantity();//药品数量
            String diagnosis_result = r.getDiagnosis_result();//诊断结果
            String treatment_method = r.getTreatment_method();//治疗方法
            String department_name = r.getDepartment_name();//就诊科室
            String diagnosis_time = r.getDiagnosis_time();//诊断时间
        %>

        <table border="0">
            <tr>
                <td class="t1">就诊卡号</td>
                <td><input type="text" name="card_number" value="<%=card_number%>"/></td>
                <td class="t1">病人姓名</td>
                <td><input type="text" name="patient_name" value="<%=patient_name%>"/></td>
            </tr>
            <tr>
                <td class="t1">药品编号</td>
                <td><input type="text" name="record_number" value="<%=record_number%>"/></td>
                <td class="t1">医生编号</td>
                <td><input type="text" name="doctor_number" value="<%=doctor_number%>"/></td>
            </tr>
            <tr>
                <td class="t1">医生姓名</td>
                <td><input type="text" name="doctor_name" value="<%=doctor_name%>"/></td>
                <td class="t1">医生职称</td>
                <td><input type="text" name="doctor_title" value="<%=doctor_title%>"/></td>
            </tr>
            <tr>

                <td class="t1">药品名称</td>
                <td><input type="text" name="drug_name" value="<%=drug_name%>"/></td>
                <td class="t1">药品数量</td>
                <td><input type="text" name="drug_quantity" value="<%=drug_quantity%>"/></td>
            </tr>
            <tr>
                <td class="t1">诊断结果</td>
                <td><input type="text" name="diagnosis_result" value="<%=diagnosis_result%>"/></td>
                <td class="t1">治疗方法</td>
                <td><input type="text" name="treatment_method" value="<%=treatment_method%>"/></td>
            </tr>
            <tr>
                <td class="t1">诊断时间</td>
                <td><input type="text" name="diagnosis_time" value="<%=diagnosis_time%>"/></td>
            </tr>
        </table>
        <div class="div1">
            <button><a href="/SickShowAll">返回</a></button>
        </div>
    </body>
</html>